For handled exceptions, you need to strike a balance in your error messages between being helpful to the naive user and giving away too much information to the unscrupulous hacker.
对于已处理的异常,需要在错误消息中权衡:对无经验的用户有帮助,但不要向无道德的黑客透露过多信息。
How would I, as a relatively naive end user, protect my desktop machine?
像我这样的一个单纯的终端用户怎样才能保护我的台式计算机呢?
In other words, your target user can't be naive.
换句话说,您的目标用户不能只是普通用户。
应用推荐